﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <title>头条：阴雨连绵月余，野菊花产新严重受阻！-中药材天地网</title>
    <meta name="description" content="野菊花10月下旬产新受阴雨连绵的天气阻止，新货无法上市，截止目前产量甚微！随之而来的霜降问题是否会发生呢？野菊花是否会提前产新结束，造成真正的天价行情来临呢？本..." />
    <meta name="keywords" content="野菊花 产新 天气 涨价" />
    <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Cache-control" content="no-transform" />


        <link href="/bootcss/home/Css/base.css" type="text/css" rel="stylesheet">
        <link href="/bootcss/home/Css/info.css" type="text/css" rel="stylesheet">

    
<style type="text/css">
    .showdiv {
        display: block;
    }

    .hiddendiv {
        display: none;
    }
</style>


    


</head>
<body>
    <script type="text/javascript">
        var reg = new RegExp("www.zyctd.com");
        if (reg.test(window.location.host)) {
            var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");
            var browser = navigator.userAgent.toLowerCase();
            var isMobile = false;
            for (var i = 0; i < mobileAgent.length; i++) {
                if (browser.indexOf(mobileAgent[i]) != -1) {
                    isMobile = true;
                    //alert(mobileAgent[i]);
                    location.href = window.location.href.replace("www.","m.");
                    break;
                }
            }
        }
    </script>

<div class="topnav">
    <div class="w">
        <span>
            <a href="https://secure.zyctd.com/signin/login?returnurl=http%3A%2F%2Fwww.zyctd.com%2Finfo%2Fdetail%3Ftopicid%3D259492%26" class="login">登录</a>
            <a href="http://www.zyctd.com/WebPage/Register" class="register">注册</a>
        </span>
        
        <ul>
            <li class="now"><a target="_blank" href="http://www.zyctd.com/">产业门户</a></li>
            <li><a target="_blank" href="http://www.zyccst.com/">批零交易</a></li>
            <li><a target="_blank" href="http://dahuo.zyccst.com/">大货交易</a></li>
            <li><a target="_blank" href="http://chaoshi.zyccst.com/">诚实通超市</a></li>
            
        </ul>
    </div>
</div>


    

<div class="topinfo">
    <div class="w">
        <span class="r"><a href="javascript:void(0);" class="h5 none">触屏版</a><a href="http://www.zyccst.com/PhoneApp/Appdownload.aspx" class="app none">安卓客户端</a><a href="http://www.zyctd.com/" class="collet" onclick="AddFavorite(this.href, '中药材天地网 '); return false;">收藏本站</a></span>
        <span class="welcome">您好！欢迎光临中药材天地网！</span>
    </div>
</div>
    
<div class="head">

    <div class="sc rel">
        <input type="text" maxlength="10" class="sctxt" placeholder="请输入您想找的关键字" id="txtSearchKey" onkeypress="enterKeyPress(event, btnSearchKeyClick)" /><input type="button" class="scbtn" onclick="btnSearchKeyClick();" />
        <div class="topSearchSlideBox abs none" id="topSearchSlideBox">
            <div class="topSearchSlideDefault" id="topSearchSlideDefault">
                <div id="record">
                    <div class="topSearchSlideTitle keyHistory">搜索记录</div>
                    <div class="keyHistoryBox clf mb20 f0" id="keyHistoryBox">

                    </div>
                </div>
                <div class="topSearchSlideTitle hotKeywords">热门搜索</div>
                <div class="hotKeywordsBox" id="hotKeywordsBox">
                    
                </div>
            </div>
            <div class="topSearchAutoList none" id="topSearchAutoList">
                
            </div>
        </div>
    </div>
    
    <a href="http://www.zyctd.com" class="logo">
        <img src="Picture/logo.jpg" />
    </a>
    <span class="channelName yahei">&bull;&nbsp;&nbsp;资讯</span>
</div>

<div class="snavBox">
    <div class="snavOuter yahei">
                                             
        <ul class="snavIner" id="ulMainMenu" sign="menu">

                    <li menuid="http://www.zyctd.com/">
                        <a class="snavTxt"  href="http://www.zyctd.com/">首页</a>
                    </li>
                    <li menuid="http://www.zyctd.com/zixun/">
                        <a class="snavTxt"   href="http://www.zyctd.com/zixun/" >资讯</a>

                        <div class="snavList">

                                <a  href="http://www.zyctd.com/zixun/201/"   menuid="http://www.zyctd.com/zixun/201/">产地快讯</a>
                                <a  href="http://www.zyctd.com/zixun/200/"   menuid="http://www.zyctd.com/zixun/200/">市场快讯</a>
                                <a  href="http://www.zyctd.com/zixun/202/"   menuid="http://www.zyctd.com/zixun/202/">品种分析</a>
                                <a  href="http://www.zyctd.com/zixun/203/"   menuid="http://www.zyctd.com/zixun/203/">市场点评</a>
                                <a  href="http://www.zyctd.com/zixun/204/"   menuid="http://www.zyctd.com/zixun/204/">产业观察</a>
                                <a  href="http://www.zyctd.com/zixun/205/"   menuid="http://www.zyctd.com/zixun/205/">产业报告</a>

                        </div>


                    </li>
                    <li menuid="http://www.zyctd.com/wenhua/">
                        <a class="snavTxt"   href="http://www.zyctd.com/wenhua/" >文化</a>

                        <div class="snavList">

                                <a  href="http://www.zyctd.com/wenhua/206/"   menuid="http://www.zyctd.com/wenhua/206/">药源探秘</a>
                                <a  href="http://www.zyctd.com/wenhua/207/"   menuid="http://www.zyctd.com/wenhua/207/">药食习俗</a>
                                <a  href="http://www.zyctd.com/wenhua/208/"   menuid="http://www.zyctd.com/wenhua/208/">民间偏方</a>
                                <a  href="http://www.zyctd.com/wenhua/209/"   menuid="http://www.zyctd.com/wenhua/209/">中药趣闻</a>

                        </div>


                    </li>
                    <li menuid="http://ssy.zyccst.com/gy/">
                        <a class="snavTxt" target="_blank"  href="http://ssy.zyccst.com/gy/" >供求</a>

                        <div class="snavList">

                                <a  href="http://ssy.zyccst.com/gy/" target="_blank"  menuid="http://ssy.zyccst.com/gy/">供应信息</a>
                                <a  href="http://ssy.zyccst.com/qg/" target="_blank"  menuid="http://ssy.zyccst.com/qg/">求购信息</a>

                        </div>


                    </li>
                    <li menuid="http://www.zyctd.com/biaozhun/">
                        <a class="snavTxt"   href="http://www.zyctd.com/biaozhun/" >标准</a>

                        <div class="snavList">

                                <a  href="http://www.zyctd.com/biaozhun/213/"   menuid="http://www.zyctd.com/biaozhun/213/">天地网标准</a>
                                <a  href="http://zt.zyccst.com/201512a/" target="_blank"  menuid="http://zt.zyccst.com/201512a/">认证中心</a>

                        </div>


                    </li>
                    <li menuid="http://www.zyctd.com/jiage/">
                        <a class="snavTxt"   href="http://www.zyctd.com/jiage/" >价格</a>

                        <div class="snavList">

                                <a  href="http://www.zyctd.com/jiage/1-0-0-1.html"   menuid="http://www.zyctd.com/jiage/1/">市场价格</a>
                                <a  href="http://www.zyctd.com/jiage/8-0-0-1.html"   menuid="http://www.zyctd.com/jiage/8/">产地价格</a>
                                <a  href="http://www.zyctd.com/jiage/ds0-0-1.html"   menuid="http://www.zyctd.com/jiage/ds0/">电商价格</a>

                        </div>


                    </li>
                    <li menuid="http://zhishu.zyctd.com/">
                        <a class="snavTxt"   href="http://zhishu.zyctd.com/" >指数</a>

                        <div class="snavList">

                                <a  href="http://zhishu.zyctd.com/xingtai/"   menuid="http://zhishu.zyctd.com/xingtai/">形态类指数</a>
                                <a  href="http://zhishu.zyctd.com/gongxiao/"   menuid="http://zhishu.zyctd.com/gongxiao/">功效类指数</a>
                                <a  href="http://zhishu.zyctd.com/quyu/"   menuid="http://zhishu.zyctd.com/quyu/">区域类指数</a>
                                <a  href="http://zhishu.zyctd.com/laiyuan/"   menuid="http://zhishu.zyctd.com/laiyuan/">来源类指数</a>
                                <a  href="http://zhishu.zyctd.com/yongtu/"   menuid="http://zhishu.zyctd.com/yongtu/">用途类指数</a>
                                <a  href="http://zhishu.zyctd.com/jiedu/"   menuid="http://zhishu.zyctd.com/jiedu/">指数解读</a>

                        </div>


                    </li>
                    <li menuid="http://www.zyctd.com/shuju/">
                        <a class="snavTxt"  href="http://www.zyctd.com/shuju/">数据</a>
                    </li>
                    <li menuid="http://yaocai.zyctd.com/">
                        <a class="snavTxt"  href="http://yaocai.zyctd.com/">品种</a>
                    </li>
                    <li menuid="http://www.zyctd.com/zhenwei/">
                        <a class="snavTxt"  href="http://www.zyctd.com/zhenwei/">真伪</a>
                    </li>
                    <li menuid="http://www.zyctd.com/cunchu/">
                        <a class="snavTxt"  href="http://www.zyctd.com/cunchu/">存储</a>
                    </li>
                    <li menuid="http://www.zyctd.com/pingce/">
                        <a class="snavTxt"  href="http://www.zyctd.com/pingce/">评测</a>
                    </li>
                    <li menuid="http://www.zyctd.com/zt/">
                        <a class="snavTxt"  href="http://www.zyctd.com/zt/">专题</a>
                    </li>
                    <li menuid="http://www.zyctd.com/tupian/">
                        <a class="snavTxt"  href="http://www.zyctd.com/tupian/">图库</a>
                    </li>
                    <li menuid="http://bbs.zyctd.com/forum.php?gid=1">
                        <a class="snavTxt" target="_blank" href="http://bbs.zyctd.com/">论坛</a>
                    </li>

        </ul>


  


</div>
</div>


    <div id="body">
        
        <section class="content-wrapper main-content clear-fix">
            


<div class="w clf">
    <div class="adArea">
        
        
            <a href="http://pubsvr.zyccst.com/statistics/pop.aspx?FromID=178&amp;url=http://chaoshi.zyccst.com/" target="_blank">
                <img src="Picture/b6842bb517714bee80516dcadc984729.jpg" alt="资讯频道顶部通栏" border="0">
            </a>



    </div>
    <div class="place">
        <span class="l g9">当前位置：</span> <a href="http://www.zyctd.com/" target="_blank">首页</a><em>></em>
            <a href="http://www.zyctd.com/zixun/" target="_blank" >资讯</a> <em>></em>
        <a href="http://www.zyctd.com/zixun/202/" target="_blank">品种分析</a><em>></em>
        正文
    </div>
    <div class="main">
            <div id="hasInfoRegion">
                <div id="infoDetailRegion">
                    <h1>{{$post['0']->title}}</h1>
                    <div class="attr">
                        <div class="share"><div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div></div>
                        <span>{{$post['0']->ctime}}</span><span>{{$post['0']->uname}}</span><span>阅读:{{$post['0']->reads}}次</span>
                    </div>
                    <!-- <div class="info">
                        <?php 
                            // $res=substr($post['0']->content,0,180);

                            // echo $res.'...';
                        ?>
                    </div> -->

                    <div class="content">
                        <table>
                            <tr>
                                <td>
                                    <div class="con" id="infoContent">
                                    <?php 
                                        echo $post['0']->content;

                                     ?>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>

                    <div class="keyword rel">
                        
                        <a id="collectButton" style="display:none;" href="javascript:void(0)" class="collect" onclick="addInfoTopicToFavorite()"><span id=" collecttext">收藏文章</span></a>
                        <span class="clolectMsg dib f12 abs" style="display:none;" id="collectMsg"><strong>收藏成功</strong>，<a href="http://www.zyctd.com/UserCenter/MyCollect" target="_blank" class="myFav">查看我的收藏</a></span>

                        <span>
                            关键词：
                                <a href="http://www.zyctd.com/Search/Index?keyword=野菊花">野菊花</a>
                                <a href="http://www.zyctd.com/Search/Index?keyword=产新">产新</a>
                                <a href="http://www.zyctd.com/Search/Index?keyword=天气">天气</a>
                                <a href="http://www.zyctd.com/Search/Index?keyword=涨价">涨价</a>
                        </span>
                    </div>

                    <div class="sortlist">
                        <span class="dib vm">药材：</span>
                        <ul class="vm">
                                <li><a href="" target="_blank" title="野菊花">野菊花</a><a href="http://www.zyctd.com/jiage/1-664-0-1.html" target="_blank">价格</a>
                                    <a href="" target="_blank">产地</a>
                                    <a href="" target="_blank">市场</a>
                                    <a href="" target="_blank">商家</a>
                                    <a href="javascript:void(0)" onclick="goshopping('野菊花')" target="_blank">去购买</a>
                                </li>
                        </ul>
                    </div>
<script>function goshopping(mname){ window.open("http://chaoshi.zyccst.com/List/index/1?Keyword="+escape(mname));}</script>
                    <ul class="prenext">
                        <li><span>下一篇：</span><a href="http://www.zyctd.com/zixun/202/259490.html" target="_blank">聚焦：柴胡产新，种源混乱质量堪忧！</a></li>
                    </ul>

                </div>

                <div id="topicReviewRegion" style="display:none">
                    <div class="msg">
                        <div class="msgtitle">
                            <span class="msgnum"><strong><!--ko text:ReviewCount --><!--/ko--></strong>条评论</span>
                            <strong class="t">最新评论</strong>
                            <span class="f12 g9">文明上网理性发言</span>
                        </div>
                        <textarea id="reviewContent" class="edit" data-bind="value:Content"></textarea>
                        <div class="msgft">
                            <a class="postmsg" data-bind="click:addReview">发布评论</a>
                            <span>验证码：<input id="codeContent" type='text' class="yzm" /><img id="valiCode" style="cursor: pointer;" src="Picture/f969614b9b2c4038aff6ebf126d8b27e.gif" alt="验证码" data-bind="click: updateVerifyCode" /><a href="javascript:void(0);" data-bind="click: updateVerifyCode">看不清？换一个</a></span>
                        </div>
                    </div>
                    <ul class="msglist" data-bind="foreach:Items">
                        <li>
                            <p class="t"><a data-bind="text:$root.authorShow($data)"></a><span class="g9 ml10"><!--ko text:TimeString --><!--/ko--></span></p>
                            <p data-bind="html:Content"></p>
                        </li>
                    </ul>
                    <div data-bind="css: ViewAllBtnClassName">
                        <div class="moremsg"><a href="javascript:void(0);" data-bind="click: viewAllReviews">查看全部评论（<!--ko text:ReviewCount --><!--/ko-->条)</a></div>
                    </div>
                </div>
            </div>
    </div>
    <div class="sub">
        <div id="relativeTopicRegion" class="subbox">
            <div class="title">
                <span>相关阅读</span>
            </div>
                    <ul class="txtlist">
                            <li><a href="http://www.zyctd.com/zixun/202/257857.html" target="_blank">头条：国庆期间，哪些品种波动不容错过？</a></li>
                            <li><a href="http://www.zyctd.com/zixun/202/257954.html" target="_blank">头条：天价野菊花产新在即，可能出现抢收！</a></li>
                            <li><a href="http://www.zyctd.com/zixun/201/258282.html" target="_blank">河南信阳光山野菊花货少即将产新</a></li>
                            <li><a href="http://www.zyctd.com/zixun/201/257918.html" target="_blank">湖北省枣阳市野菊花货少价涨</a></li>
                            <li><a href="http://www.zyctd.com/zixun/200/258196.html" target="_blank">亳州市场野菊花近日行情有所回落</a></li>
                            <li><a href="http://www.zyctd.com/zixun/203/231104.html" target="_blank">盘点河南产地部分涨价品种</a></li>
                            <li><a href="http://www.zyctd.com/zixun/201/257352.html" target="_blank">河南驻马店确山县野菊花货少价稳</a></li>
                            <li><a href="http://www.zyctd.com/zixun/201/256557.html" target="_blank">湖北省大悟县野菊花价格上涨</a></li>
                            <li><a href="http://www.zyctd.com/zixun/200/256863.html" target="_blank">荷花池市场野菊花价格持续上涨</a></li>
                            <li><a href="http://www.zyctd.com/zixun/200/256684.html" target="_blank">安国市场野菊花行情上涨</a></li>
                    </ul>

        </div>
        <div id="relativePostRegion" class="subbox none">
            <div class="title">
                <span>相关帖子</span>
            </div>
                    <ul class="txtlist">
                        <li><h3>数据建设中</h3></li>
                    </ul>

        </div>
        <div class="subbox">
            <div class="adArea">
                
                
            <a href="http://pubsvr.zyccst.com/statistics/pop.aspx?FromID=321&amp;url=http://chaoshi.zyccst.com/" target="_blank">
                <img src="Picture/c096ea2e5d2a4faba6896d148818411d.jpg" alt="文章页右侧小广告" border="0">
            </a>



            </div>
        </div>
    </div>
    <div class="adArea">
        
        
            <a href="http://pubsvr.zyccst.com/statistics/pop.aspx?FromID=321&amp;url=http://chaoshi.zyccst.com" target="_blank">
                <img src="Picture/0a94b0059b7c47b683694621a12c8e9c.jpg" alt="诚实通底部通栏" border="0">
            </a>



    </div>
</div>

<div id="loginOuter" class="loginOuter rel" style="display:none">
    <a id="closeLogin" href="javascript:void(0);" class="closeFixed abs dib"></a>
    <div class="loginBox">
        <h1>登录天地网</h1>
        <div class="LoginNameTips mt15" id="divLoginTip">
            <i class="tipsWarn vm"></i><span class="red vm" id="spErrorMsg"></span>
        </div>
        <div class="msg mt10 none">
            <span class="err">用户名或者密码错误</span>
        </div>
        <div class="mt20">
            <input type="text" class="txt username" placeholder="用户名" name="LoginName" id="txtLoginName" maxlength="20" autocomplete="off">
        </div>
        <div class="mt20">
            <input type="password" class="txt password" name="Password" id="txtPassword" autocomplete="off">
    </div>
        <div class="remember ovh mt10">
            <a class="r" href="http://www.zyctd.com/WebPage/ForgetPwd" target="_blank">忘记密码？</a>
            <label class="l">
                <input type="checkbox" class="checkBox" id="chkRememberAccount">
                <span class="vm">记住用户名</span>
            </label>
</div>
        <div class="mt10">
            <a href="javascript:void(0);" class="formBtn loginBtn f14 b" id="btnLogin">登录天地网</a>
        </div>
        <div class="mt10">
            <a href="http://www.zyctd.com/WebPage/Register" target="_blank" class="r freezc">免费注册</a>
            <a href="https://secure.zyccst.com/login.html" target="_blank" class="l cstlg">诚实通登录</a>
        </div>
    </div>
</div>



        </section>
    </div>

    
    <div class="webChat">
        <a class="online " href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&amp;key=XzkzODA2MzQ2OF8zODg4NV80MDAwMDA4NTg1XzJf" target="_blank">
            <span>在线客服</span>
        </a>
        <a class="goTop " href="javascript:scroll(0,0)">
            <span>返回顶部</span>
        </a>
    </div>

        <script type="text/javascript" src="Scripts/jquery-1.11.1.js"></script>
        <script type="text/javascript" src="Scripts/zyclibjq.js"></script>
        <script type="text/javascript" src="Scripts/layer.min.js"></script>
        <script type="text/javascript" src="Scripts/jquery.history.js"></script>
        <script type="text/javascript" src="Scripts/tool.js"></script>
        <script type="text/javascript" src="Scripts/heartbeatjq.js"></script>
        <script type="text/javascript" src="Scripts/common.js"></script>
        <script type="text/javascript" src="Scripts/usersignout.js"></script>
        <script type="text/javascript" src="Scripts/knockout-3.3.0.js"></script>
        <script type="text/javascript" src="Scripts/knockout.mapping-latest.js"></script>
        <script type="text/javascript" src="Scripts/serviceproxy.js"></script>
        <script type="text/javascript" src="Scripts/userlogin.js"></script>

    <script type="text/javascript">
        $(function () {
            ZYCLib.PlugIn.HeartBeatPackage.Start();
        });
    </script>
    <script type="text/javascript">
    (function() {
        ZYCLib.CurrentUser.PerID = 0;
    });
    </script>

    
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
<script type="text/javascript">

    //初始化页面值
    var PageValue = {};
    var userInfo = { UserID: parseInt("0"), PersonID: parseInt("0"), PersonName: "Guest", ClientIP: '127.0.0.1' };
    //var userInfo = { UserID: 589, PersonID: 155, PersonName: "王亮", ClientIP: '192.168.3.215' };
    PageValue.TopicID = parseInt("259492");
    PageValue.User = userInfo;
    PageValue.Host = "http://www.zyctd.com";

    //应用型变量
    var serviceProxy = new ServiceProxy();

    var isCollected = false;
    var objType = 2;

    //分页控件
    var pager = new PageHander();

    function setPage(isShowFloor, pageIndex, pageSize, pageCount, itemCount) {
        //初始化
        pager = new PageHander();
        pager.PageNo = pageIndex;
        pager.PageSize = pageSize;
        pager.IsShowFloor = isShowFloor;

        //呈现
        pager.ShowPage('pager', 'pageRegion', choosePage, itemCount);
    }

    //显示分页
    function choosePage() {
        //刷新页面
        var infoDetailUrlFormat = "http://www.zyctd.com/zixun/202/259492.html?pageIndex={0}";
        var infoUrl = stringFormat(infoDetailUrlFormat, parseInt(pager.PageNo));
        if (parseInt(pager.PageNo) == 1) {
            //infoDetailUrlFormat = window.location.href.replace(/-\d+/, "");
            window.location.href = infoUrl.replace(/\?.*?$/, "");
        }
        else {
            window.location.href = infoUrl;
        }
    }

    //显示收藏按钮
    var isShowFavorite = function () {
        //用户未登录
        if (PageValue.User.UserID <= 0)
            return;

        //执行服务请求
        serviceProxy.isExistFavoriteItem(PageValue.User.UserID, objType, PageValue.TopicID, function (responseData) {
            if (responseData.ErrorCode == 0 && responseData.Data && responseData.Data.Result)  //执行成功
            {
                isCollected = true;
                //$('#collectButton').addClass('collected').html('已收藏');
                $('#collectButton').addClass('collected').html('取消收藏').next().slideDown().delay(2500).slideUp();
            }
        });
    }

    //收藏咨询文章
    var addInfoTopicToFavorite = function () {
        //用户未登录
        if (PageValue.User.UserID <= 0) {
            //弹出登录注册框
            showLoginWindow();
            return;
        }

        if (isCollected) {
            //取消收藏
            serviceProxy.removeFavoriteItem(PageValue.User.UserID, objType, PageValue.TopicID, function (responseData) {
                if (responseData.ErrorCode == 0)  //执行成功
                {
                    isCollected = false;
                    $('#collectButton').removeClass('collected').html('收藏文章')
                }
                else {
                    ZYCLib.UI.MessageBox.Alert("操作失败" + responseData.ErrorMessage);  //后期优化为生产环境错误提示
                }
            });

        }
        else {
            //添加收藏
            serviceProxy.addFavoriteItem(PageValue.User.UserID, objType, PageValue.TopicID, function (responseData) {
                if (responseData.ErrorCode == 0)  //执行成功
                {
                    isCollected = true;
                    $('#collectButton').addClass('collected').html('取消收藏').next().slideDown().delay(2500).slideUp();
                }
                else {
                    ZYCLib.UI.MessageBox.Alert("操作失败" + responseData.ErrorMessage);  //后期优化为生产环境错误提示
                }
            });
        }
    }

    //弹出登录窗口
    var showLoginWindow = function () {
        $("#loginOuter").show(1000);
    }
    //关闭窗口
    var closeLoginWindow = function () {
        $("#divLoginTip").addClass("none");
        $("#loginOuter").hide(1000);
    }

    //文章评论视图模型
    var TopicReviewViewModel = function (topicID, topicTitle, reviewCount, num) {
        var self = this;

        //资讯文章ID
        this.TopicID = ko.observable(topicID || 0);

        //资讯文章标题
        this.TopicTitle = ko.observable(topicTitle || '');

        //评论数目
        this.ReviewCount = ko.observable(reviewCount || 0);

        //数目
        this.Num = ko.observable(num || 5);

        //评论集合
        this.Items = ko.observableArray([]);

        //当前评论内容
        this.Content = ko.observable('');

        //当前是否显示全部评论
        this.IsViewAll = ko.observable(false);

        //查看全部评论按钮样式类名称
        //this.ViewAllBtnClassName = ko.observable(self.IsViewAll() ? "hiddendiv" : "showdiv");
        this.ViewAllBtnClassName = ko.computed(function () {
            return this.IsViewAll() ? "hiddendiv" : "showdiv";
        }, self);

        //应用型变量
        this.serviceProxy = new ServiceProxy();

        //初始化
        this.init = (function () {
            //没有有效值
            if (self.TopicID() <= 0) {
                return;
            }

            self.serviceProxy.getInfoTopicReviews(self.TopicID(), self.Num(), function (responseData) {
                console.log(responseData);
                if (responseData.ErrorCode == 0)  //执行成功
                {
                    //更新评论
                    var cacheItems = responseData.Data.Items;
                    self.Items.removeAll();
                    for (var index in cacheItems) {
                        var item = cacheItems[index];
                        self.Items.push(item);
                    }
                }
                else {
                    //报错如何处理，后期优化
                }
            });
        })();

        //发布评论
        this.addReview = function () {
            //检验当前用户是否登录用户未登录
            if (PageValue.User.UserID <= 0) {
                //弹出登录注册框
                showLoginWindow();
                return;
            }

            //检验验证码  后期优化
            var isCodeValidate = false;
            var code = $("#codeContent").val();
            self.serviceProxy.validateCode(code, function (responseData) {
                if (responseData.ErrorCode != 0)  //执行成功
                {
                    ZYCLib.UI.MessageBox.Alert(responseData.ErrorMessage); //后期优化为生产环境错误提示
                    return;
                }
                else {
                    isCodeValidate = true;
                }
            }, false);
            if (!isCodeValidate) {
                return;
            }
            //刷新验证码
            self.updateVerifyCode();
            $("#codeContent").val('')

            //检验文章ID和内容是否为空
            if (!self.TopicID() || self.TopicID() < 1 || !self.Content()) {
                ZYCLib.UI.MessageBox.Alert("评论内容不能为空");
                return;
            }

            //获取评论内容(html绑定失效为什么？)
            //var reviewContent = $("#reviewContent").val()
            ////self.Content(reviewContent);
            //执行服务请求  //应该及时去拉取用户数据才准确吧
            self.serviceProxy.addInfoTopicReview(self.TopicID(), PageValue.User.PersonID, PageValue.User.UserID, PageValue.User.PersonName, PageValue.User.ClientIP, self.TopicTitle(), self.Content(), function (responseData) {
                if (responseData.ErrorCode == 0)  //执行成功
                {
                    self.getInfoTopicReviews(); //重新刷新数据（代码简单,高损耗）

                    //刷新评论数量，暂时方案，算法并足够精准，后期优化
                    self.ReviewCount(self.ReviewCount() + 1);
                }
                else {
                    ZYCLib.UI.MessageBox.Alert("操作失败" + responseData.ErrorMessage);  //后期优化为生产环境错误提示
                }
            });
        }

        //查看全部评论
        this.viewAllReviews = function () {
            self.Num(-1); //表示所有

            //刷新数据
            self.getInfoTopicReviews();

            //隐藏当前操作按钮
            self.IsViewAll(true);
        }

        //显示用户名
        this.authorShow = function (item) {
            var authorShow = "";

            if (!item)
                return authorShow;

            authorShow = item.Author
            if (item.AuthorID > 0) {
                authorShow = authorShow.substr(0, 1) + "**";
            }

            return authorShow;
        };

        //跳转至用户URL
        this.directToUserUrl = function (item) {
            var url = 'http://www.cnblogs.com/';
            return url;
        };

        //刷讯验证码
        this.updateVerifyCode = function () {
            $("#valiCode").attr("src", PageValue.Host + "/VerifyCodeImage/VerifyCodeImageCreater?time=" + (new Date()).getTime());
        };

        //更新数据后的回调
        this.getInfoTopicReviewsCallback = function (responseData) {
            console.log(responseData);
            if (responseData.ErrorCode == 0)  //执行成功
            {
                //更新评论
                var cacheItems = responseData.Data.Items;
                self.Items.removeAll();
                for (var index in cacheItems) {
                    var item = cacheItems[index];
                    self.Items.push(item);
                }

                //评论数量？
            }
            else {
                //报错如何处理，后期优化
            }
        }

        //获取文章评论
        this.getInfoTopicReviews = function () {
            self.serviceProxy.getInfoTopicReviews(self.TopicID(), self.Num(), this.getInfoTopicReviewsCallback);
        }
    }

    var updateVerifyCode = function () {
        $("#valiCode").attr("src", "Http://www.zyctd.com/VerifyCodeImage/VerifyCodeImageCreater?time=" + (new Date()).getTime());
    }


    //文章评论视图
    var topicReviewVM;

    //接受后台参数值
    var topicID = parseInt('259492');
    var topicTitle = '头条：阴雨连绵月余，野菊花产新严重受阻！';
    var reviewCount = parseInt('0');
    var topicReviewNum = parseInt('3');
    var contentPageIndex = parseInt('1');
    var contentPageCount = parseInt('1');
    var isInfoEmpty = topicID <= 0;

    $(document).ready(function () {

        //初始化用户登录
        
        var url = window.location.href;
        ZYCLib.Page.Sign.LoginInit(url);

        if (isInfoEmpty)
            return;

        //设置文章内容分页
        if (contentPageCount > 1) {
            showPage(pager, "pager", "pageRegion", choosePage, false, contentPageIndex, 1, contentPageCount, contentPageCount);
        }

        ////暂时隐藏，二期上线时再加
        ////显示收藏按钮样式
        //isShowFavorite(); 

        //$('#closeLogin').click(function () {
        //    closeLoginWindow();
        //});

        ////绑定
        //topicReviewVM = new TopicReviewViewModel(topicID, topicTitle, reviewCount, topicReviewNum);
        //ko.applyBindings(topicReviewVM, document.getElementById('topicReviewRegion'));
    });

                </script>
                

    <div class="foot">
    <div class="footer">


        
<div class="bottomNav pt10">
    <a href="http://www.zyctd.com/Help/introduction" title="" rel="nofollow" target="_blank">公司简介</a>
    |
    <a href="http://www.zyctd.com/Help/DataService" title="" rel="nofollow" target="_blank">数据服务</a>
    |
    
    <a href="http://www.zyctd.com/Help/job" title="" rel="nofollow" target="_blank">诚聘英才</a>
    |
    <a href="http://www.zyctd.com/Help/contactUs" title="" rel="nofollow" target="_blank">联系我们</a>
    |
    <a href="http://www.zyctd.com/Help/law" title="" rel="nofollow" target="_blank">法律声明</a>
    |
    
    <a href="http://www.zyctd.com/Help/links" title=""  target="_blank">友情链接</a>
    |
    <a href="http://www.zyctd.com/Help/map" title=""  target="_blank">网站地图</a>
</div>
<div class="contact">
    <span class="vm dib">客服电话：400-000-8585（工作日 9：00-18：00）</span>&nbsp;
    <span class="vm dib">广告销售：028-68956970</span>&nbsp;
    <span class="vm dib">传真：028-66763511</span>&nbsp;
    <span class="vm dib">客服QQ：</span>
    <span class="vm dib pt10">
        
        <a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&amp;key=XzkzODA2MzQ2OF8zODg4NV80MDAwMDA4NTg1XzJf" target="_blank" class="QQLink"><img src="Picture/qq.png" alt="" /></a>
    </span>
</div>
<div class="comiis_Copyright ">
    互联网药品信息服务资格证:(川)-经营性-2014-0001&nbsp;增值电信业务经营许可证-川B2-20090195<br>
    <a href="http://www.miibeian.gov.cn/" rel="nofollow" target="_blank">蜀ICP备11007471号</a>&nbsp;Copyright &copy; 2008-2016 <a href="http://www.zyctd.com/" target="_blank">www.zyctd.com</a>,All Rights Reserved.<a href="http://www.zyctd.com/" target="_blank">中药材天地网</a> 版权所有
</div>
    </div>
</div>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?ba57c22d7489f31017e84ef9304f89ec";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1256168649'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1256168649' type='text/javascript'%3E%3C/script%3E"));</script>
<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

</body>
</html>
